package cn.tedu.analyse.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentsVO {
    private Long id;
    private String content;
    private Long articleId;
    private Long userId;
    private String userName;
    private String userPhoto;
    @ApiModelProperty(value = "评论时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createdAt;
    private Date updatedAt;
    private Boolean isTopLevel;
    private Long parentId;
    private Integer level;



    private List<RepliesVO> replies ;

}
